package cn.tedu.project.oa.base.exception;

import cn.tedu.project.oa.base.response.StatusCode;
import io.swagger.models.auth.In;
import lombok.Getter;
import lombok.Setter;

/**
 * 自定义token异常类
 */
@Getter
@Setter
public class TokenAuthException extends RuntimeException {

    private Integer code;
    private String msg;

    public TokenAuthException(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
